﻿using AutoMapper;
//using BCDto.MySql.BusinessFlowInstance;
//using BCDto.MySql.BusinessFlowStepInstance;
//using BCDto.OA.ApplyOrder;
//using BCDto.OA.AuxiliaryRule;
//using BCDto.OA.BusinessFlowCategory;
//using BCDto.OA.BusinessFlowModel.BusinessFlowModel;
//using BCDto.OA.BusinessFlowModel.BusinessFlowStepModel;
//using BCDto.OA.BusinessFlowPushRecord;
//using BCDto.OA.BusinessFlowRecord;
//using BCDto.OA.BusinessTypeRecord;
//using BCDto.OA.Notification.NotificationCategory;
//using BCDto.OA.Notification.NotificationCategoryMappingDepartment;
//using BCDto.OA.Notification.NotificationRecord;
//using BCDto.OA.Notification.NotificationTransferRecord;
//using BCDto.OA.PageBusiness.PageBusinessConfig;
//using BCDto.OA.PageBusiness.PageBusinessMappingDepartment;
//using BCDto.OA.Reimbursement;
//using BCDto.OA.TeamWorks.TaskRecord;
//using BCDto.OA.TeamWorks.TaskRejectRecord;
//using BCDto.OA.TeamWorks.TaskRejectReplyRecord;
//using BCDto.OA.Workflow.Template.WorkflowActivity;
//using BCDto.OA.Workflow.Template.WorkflowActivityStep;
//using BCDto.OA.Workflow.Template.WorkflowActivityStepExtendMethod;
//using BCDto.OA.Workflow.WorkflowActivityInstance;
//using BCDto.OA.Workflow.WorkflowActivityInstanceRecord;
//using BCDto.OA.Workflow.WorkflowActivityInstanceReference;
//using BCDto.OA.Workflow.WorkflowActivityStepExtendMethodInstance;
//using BCDto.OA.Workflow.WorkflowActivityStepInstance;
//using BCDto.OA.Workflow.WorkflowInstanceStepExecutionRecord;
//using BCEntity.MySql.BusinessFlowInstance;
//using BCEntity.MySql.BusinessFlowStepInstance;
//using BCEntity.OA.ApplyOrder;
//using BCEntity.OA.AuxiliaryRule;
//using BCEntity.OA.BusinessFlowCategory;
//using BCEntity.OA.BusinessFlowModel.BusinessFlowModel;
//using BCEntity.OA.BusinessFlowModel.BusinessFlowStepModel;
//using BCEntity.OA.BusinessFlowPushRecord;
//using BCEntity.OA.BusinessFlowRecord;
//using BCEntity.OA.BusinessTypeRecord;
//using BCEntity.OA.Notification.NotificationCategory;
//using BCEntity.OA.Notification.NotificationCategoryMappingDepartment;
//using BCEntity.OA.Notification.NotificationRecord;
//using BCEntity.OA.Notification.NotificationTransferRecord;
//using BCEntity.OA.PageBusiness.PageBusinessConfig;
//using BCEntity.OA.PageBusiness.PageBusinessMappingDepartment;
//using BCEntity.OA.Reimbursement;
//using BCEntity.OA.TeamWorks.TaskRecord;
//using BCEntity.OA.TeamWorks.TaskRejectRecord;
//using BCEntity.OA.Workflow.WorkflowActivity;
//using BCEntity.OA.Workflow.WorkflowActivityInstance;
//using BCEntity.OA.Workflow.WorkflowActivityInstanceReference;
//using BCEntity.OA.Workflow.WorkflowActivityStep;
//using BCEntity.OA.Workflow.WorkflowActivityStepExtendMethod;
//using BCEntity.OA.Workflow.WorkflowActivityStepExtendMethodInstance;
//using BCEntity.OA.Workflow.WorkflowActivityStepInstance;
//using BCEntity.OA.Workflow.WorkflowInstanceStepExecutionRecord;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabase;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabaseTable;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabaseTableColumn;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormCategory;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormDatabaseConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormItem;
using BCDto.OA.WorkflowTemplate.WorkflowCategory;
using BCEntity.OA.WorkflowTemplate.WorkflowCategory;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabase;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabaseTable;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateFormCustomDatabaseTableColumn;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepFormCategory;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepFormConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepFormDatabaseConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepFormItem;
using BCDto.OA.WorkflowTemplate.WorkflowTemplate;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplate;
using BCDto.OA.WorkflowTemplate.WorkflowTemplatePermission;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplatePermission;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateFlowStepDesign;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateFlowStepDesign;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStep;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStep;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepSubFlowConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepSubFlowConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepTypeConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepTypeConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepStartBaseConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepStartBaseConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepReviewerConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepReviewerConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepNotificationConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepNotificationConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepLinePathConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepLinePathConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepLineConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepLineConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepFormTemplateConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepFormTemplateConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepEndBaseConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepEndBaseConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepCountersignConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepCountersignConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepConditionConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepConditionConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepConditionBaseConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepConditionBaseConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepButtonConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepButtonConfig;
using BCDto.OA.WorkflowTemplate.WorkflowTemplateStepBaseConfig;
using BCEntity.OA.WorkflowTemplate.WorkflowTemplateStepBaseConfig;

namespace BCService.MapperProfiles.OA
{
    public class OAProfile : Profile
    {
        public OAProfile()
        {
            //工作流分类
            CreateMap<WorkflowCategoryDto, WorkflowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowCategoryRequestDto, WorkflowCategoryPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowCategoryRequestDto, WorkflowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowCategoryPutDto, WorkflowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowCategoryEntity, WorkflowCategoryDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            //CreateMap<WorkflowActivityDto, WorkflowActivityEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityEntity, WorkflowActivityDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityStepEntity, WorkflowActivityStepDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityStepDto, WorkflowActivityStepEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityStepExtendMethodDto, WorkflowActivityStepExtendMethodEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityStepExtendMethodEntity, WorkflowActivityStepExtendMethodDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityInstanceDto, WorkflowActivityInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityInstanceEntity, WorkflowActivityInstanceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityInstanceDto, WorkflowActivityInstanceRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityInstanceEntity, WorkflowActivityInstanceRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityInstanceReferenceDto, WorkflowActivityInstanceReferenceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityInstanceReferenceEntity, WorkflowActivityInstanceReferenceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityStepExtendMethodInstanceDto, WorkflowActivityStepExtendMethodInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityStepExtendMethodInstanceEntity, WorkflowActivityStepExtendMethodInstanceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowActivityStepInstanceDto, WorkflowActivityStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowActivityStepInstanceEntity, WorkflowActivityStepInstanceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<WorkflowInstanceStepExecutionRecordDto, WorkflowInstanceStepExecutionRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<WorkflowInstanceStepExecutionRecordEntity, WorkflowInstanceStepExecutionRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskHandleRecordDto, TaskHandleRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskHandleRecordEntity, TaskHandleRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskReceiverRecordDto, TaskReceiverRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskReceiverRecordEntity, TaskReceiverRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRecordDto, TaskRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRecordEntity, TaskRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRecordProgressDto, TaskRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRecordEntity, TaskRecordProgressDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRecordProgressDto, TaskRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRecordDto, TaskRecordProgressDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRejectRecordDto, TaskRejectRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRejectRecordEntity, TaskRejectRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<ApplyOrderEntity, ApplyOrderDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<ApplyOrderDto, ApplyOrderEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRecordEntity, ApplyOrderApprovalRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRejectReplyRecordRequestDto, TaskRejectReplyRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRejectReplyRecordDto, TaskRejectReplyRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRejectReplyRecordEntity, TaskRejectReplyRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<TaskRejectRecordViewEntity, TaskRejectRecordViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<TaskRecordEntity, TaskRecordViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            ////报销信息
            //CreateMap<ReimbursementRecordEntity, ReimbursementRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<ReimbursementRequestDto, ReimbursementRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////业务类型
            //CreateMap<BusinessTypeRecordEntity, BusinessTypeRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessTypeRecordRequestDto, BusinessTypeRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统页面业务配置
            //CreateMap<PageBusinessConfigDto, PageBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessConfigRequestDto, PageBusinessConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessConfigRequestDto, PageBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessConfigPutDto, PageBusinessConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessConfigEntity, PageBusinessConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统页面业务映射部门
            //CreateMap<PageBusinessMappingDepartmentDto, PageBusinessMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessMappingDepartmentRequestDto, PageBusinessMappingDepartmentPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessMappingDepartmentRequestDto, PageBusinessMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessMappingDepartmentPutDto, PageBusinessMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<PageBusinessMappingDepartmentEntity, PageBusinessMappingDepartmentDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统通知分类
            //CreateMap<NotificationCategoryDto, NotificationCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryRequestDto, NotificationCategoryPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryRequestDto, NotificationCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryPutDto, NotificationCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryEntity, NotificationCategoryDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统通知分类与部门关系映射
            //CreateMap<NotificationCategoryMappingDepartmentDto, NotificationCategoryMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryMappingDepartmentRequestDto, NotificationCategoryMappingDepartmentPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryMappingDepartmentRequestDto, NotificationCategoryMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryMappingDepartmentPutDto, NotificationCategoryMappingDepartmentEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationCategoryMappingDepartmentEntity, NotificationCategoryMappingDepartmentDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统通知记录（此表记录了所有OA系统产生的任务通知记录）
            //CreateMap<NotificationRecordDto, NotificationRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationRecordRequestDto, NotificationRecordPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationRecordRequestDto, NotificationRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationRecordPutDto, NotificationRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationRecordEntity, NotificationRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统通知合计视图
            //CreateMap<NotificationRecordSumViewDto, NotificationRecordSumViewEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationRecordSumViewEntity, NotificationRecordSumViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统通知记录移交记录
            //CreateMap<NotificationTransferRecordDto, NotificationTransferRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationTransferRecordRequestDto, NotificationTransferRecordPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationTransferRecordRequestDto, NotificationTransferRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationTransferRecordPutDto, NotificationTransferRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<NotificationTransferRecordEntity, NotificationTransferRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统辅助规则
            //CreateMap<AuxiliaryRuleDto, AuxiliaryRuleEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<AuxiliaryRuleRequestDto, AuxiliaryRuleDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<AuxiliaryRuleRequestDto, AuxiliaryRuleEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<AuxiliaryRulePutDto, AuxiliaryRuleEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<AuxiliaryRuleEntity, AuxiliaryRuleDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统业务流分类
            //CreateMap<BusinessFlowCategoryDto, BusinessFlowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowCategoryRequestDto, BusinessFlowCategoryPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowCategoryRequestDto, BusinessFlowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowCategoryPutDto, BusinessFlowCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowCategoryEntity, BusinessFlowCategoryDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统业务流模型
            //CreateMap<BusinessFlowModelDto, BusinessFlowModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowModelRequestDto, BusinessFlowModelPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowModelRequestDto, BusinessFlowModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowModelPutDto, BusinessFlowModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowModelEntity, BusinessFlowModelDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统业务流步骤模型
            //CreateMap<BusinessFlowStepModelDto, BusinessFlowStepModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepModelRequestDto, BusinessFlowStepModelPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepModelRequestDto, BusinessFlowStepModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepModelPutDto, BusinessFlowStepModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepModelEntity, BusinessFlowStepModelDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            
            ////OA系统柜业务流步骤模型与步骤实例实例
            //CreateMap<BusinessFlowModelDto, BusinessFlowInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowInstanceEntity, BusinessFlowModelDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<BusinessFlowModelEntity, BusinessFlowInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowInstanceEntity, BusinessFlowModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<BusinessFlowInstanceDto, BusinessFlowInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowInstanceEntity, BusinessFlowInstanceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //CreateMap<BusinessFlowStepModelDto, BusinessFlowStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstanceEntity, BusinessFlowStepModelDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepModelEntity, BusinessFlowStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstanceEntity, BusinessFlowStepModelEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统业务流步骤实例
            //CreateMap<BusinessFlowStepInstanceDto, BusinessFlowStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstanceRequestDto, BusinessFlowStepInstancePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstanceRequestDto, BusinessFlowStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstancePutDto, BusinessFlowStepInstanceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowStepInstanceEntity, BusinessFlowStepInstanceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            
            ////OA系统业务流记录
            //CreateMap<BusinessFlowRecordRequestDto, BusinessFlowRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowRecordRequestDto, BusinessFlowRecordPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowRecordPutDto, BusinessFlowRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowRecordEntity, BusinessFlowRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowRecordDto, BusinessFlowRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            ////OA系统业务流推进记录
            //CreateMap<BusinessFlowPushRecordDto, BusinessFlowPushRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowPushRecordRequestDto, BusinessFlowPushRecordPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowPushRecordRequestDto, BusinessFlowPushRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowPushRecordPutDto, BusinessFlowPushRecordEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            //CreateMap<BusinessFlowPushRecordEntity, BusinessFlowPushRecordDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤表单分类
            CreateMap<WorkflowTemplateStepFormCategoryDto, WorkflowTemplateStepFormCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormCategoryRequestDto, WorkflowTemplateStepFormCategoryPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormCategoryRequestDto, WorkflowTemplateStepFormCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormCategoryPutDto, WorkflowTemplateStepFormCategoryEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormCategoryEntity, WorkflowTemplateStepFormCategoryDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤表单配置
            CreateMap<WorkflowTemplateStepFormConfigDto, WorkflowTemplateStepFormConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormConfigRequestDto, WorkflowTemplateStepFormConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormConfigRequestDto, WorkflowTemplateStepFormConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormConfigPutDto, WorkflowTemplateStepFormConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormConfigEntity, WorkflowTemplateStepFormConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤表单数据源配置
            CreateMap<WorkflowTemplateStepFormDatabaseConfigDto, WorkflowTemplateStepFormDatabaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormDatabaseConfigRequestDto, WorkflowTemplateStepFormDatabaseConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormDatabaseConfigRequestDto, WorkflowTemplateStepFormDatabaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormDatabaseConfigPutDto, WorkflowTemplateStepFormDatabaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormDatabaseConfigEntity, WorkflowTemplateStepFormDatabaseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            //工作流模板步骤表单项
            CreateMap<WorkflowTemplateStepFormItemDto, WorkflowTemplateStepFormItemEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormItemRequestDto, WorkflowTemplateStepFormItemPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormItemRequestDto, WorkflowTemplateStepFormItemEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormItemPutDto, WorkflowTemplateStepFormItemEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormItemEntity, WorkflowTemplateStepFormItemDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板表单自定义数据库
            CreateMap<WorkflowTemplateFormCustomDatabaseDto, WorkflowTemplateFormCustomDatabaseEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseRequestDto, WorkflowTemplateFormCustomDatabasePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseRequestDto, WorkflowTemplateFormCustomDatabaseEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabasePutDto, WorkflowTemplateFormCustomDatabaseEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseEntity, WorkflowTemplateFormCustomDatabaseDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            //工作流模板表单自定义数据库表集合
            CreateMap<WorkflowTemplateFormCustomDatabaseTableDto, WorkflowTemplateFormCustomDatabaseTableEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableRequestDto, WorkflowTemplateFormCustomDatabaseTablePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableRequestDto, WorkflowTemplateFormCustomDatabaseTableEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTablePutDto, WorkflowTemplateFormCustomDatabaseTableEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableEntity, WorkflowTemplateFormCustomDatabaseTableDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            //工作流模板表单自定义数据库表集合列
            CreateMap<WorkflowTemplateFormCustomDatabaseTableColumnDto, WorkflowTemplateFormCustomDatabaseTableColumnEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableColumnRequestDto, WorkflowTemplateFormCustomDatabaseTableColumnPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableColumnRequestDto, WorkflowTemplateFormCustomDatabaseTableColumnEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableColumnPutDto, WorkflowTemplateFormCustomDatabaseTableColumnEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFormCustomDatabaseTableColumnEntity, WorkflowTemplateFormCustomDatabaseTableColumnDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            #region 工作流设计器
            //工作流模板
            CreateMap<WorkflowTemplateDto, WorkflowTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateRequestDto, WorkflowTemplatePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateRequestDto, WorkflowTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplatePutDto, WorkflowTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateEntity, WorkflowTemplateDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板权限
            CreateMap<WorkflowTemplatePermissionDto, WorkflowTemplatePermissionEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplatePermissionRequestDto, WorkflowTemplatePermissionPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplatePermissionRequestDto, WorkflowTemplatePermissionEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplatePermissionPutDto, WorkflowTemplatePermissionEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplatePermissionEntity, WorkflowTemplatePermissionDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            //工作流模板流程步骤设计
            CreateMap<WorkflowTemplateFlowStepDesignDto, WorkflowTemplateFlowStepDesignEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFlowStepDesignRequestDto, WorkflowTemplateFlowStepDesignPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFlowStepDesignRequestDto, WorkflowTemplateFlowStepDesignEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFlowStepDesignPutDto, WorkflowTemplateFlowStepDesignEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateFlowStepDesignEntity, WorkflowTemplateFlowStepDesignDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤
            CreateMap<WorkflowTemplateStepDto, WorkflowTemplateStepEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepRequestDto, WorkflowTemplateStepPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepRequestDto, WorkflowTemplateStepEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepPutDto, WorkflowTemplateStepEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepEntity, WorkflowTemplateStepDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤审核人配置
            CreateMap<WorkflowTemplateStepReviewerConfigDto, WorkflowTemplateStepReviewerConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepReviewerConfigRequestDto, WorkflowTemplateStepReviewerConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepReviewerConfigRequestDto, WorkflowTemplateStepReviewerConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepReviewerConfigPutDto, WorkflowTemplateStepReviewerConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepReviewerConfigEntity, WorkflowTemplateStepReviewerConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤线配置
            CreateMap<WorkflowTemplateStepLineConfigDto, WorkflowTemplateStepLineConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLineConfigRequestDto, WorkflowTemplateStepLineConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLineConfigRequestDto, WorkflowTemplateStepLineConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLineConfigPutDto, WorkflowTemplateStepLineConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLineConfigEntity, WorkflowTemplateStepLineConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流末班步骤线条路径配置
            CreateMap<WorkflowTemplateStepLinePathConfigDto, WorkflowTemplateStepLinePathConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLinePathConfigRequestDto, WorkflowTemplateStepLinePathConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLinePathConfigRequestDto, WorkflowTemplateStepLinePathConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLinePathConfigPutDto, WorkflowTemplateStepLinePathConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepLinePathConfigEntity, WorkflowTemplateStepLinePathConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤类型配置
            CreateMap<WorkflowTemplateStepTypeConfigDto, WorkflowTemplateStepTypeConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepTypeConfigRequestDto, WorkflowTemplateStepTypeConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepTypeConfigRequestDto, WorkflowTemplateStepTypeConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepTypeConfigPutDto, WorkflowTemplateStepTypeConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepTypeConfigEntity, WorkflowTemplateStepTypeConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤开始配置
            CreateMap<WorkflowTemplateStepStartBaseConfigDto, WorkflowTemplateStepStartBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepStartBaseConfigRequestDto, WorkflowTemplateStepStartBaseConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepStartBaseConfigRequestDto, WorkflowTemplateStepStartBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepStartBaseConfigPutDto, WorkflowTemplateStepStartBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepStartBaseConfigEntity, WorkflowTemplateStepStartBaseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤配置
            CreateMap<WorkflowTemplateStepBaseConfigDto, WorkflowTemplateStepBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepBaseConfigRequestDto, WorkflowTemplateStepBaseConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepBaseConfigRequestDto, WorkflowTemplateStepBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepBaseConfigPutDto, WorkflowTemplateStepBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepBaseConfigEntity, WorkflowTemplateStepBaseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤表单模板配置
            CreateMap<WorkflowTemplateStepFormTemplateConfigDto, WorkflowTemplateStepFormTemplateConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormTemplateConfigRequestDto, WorkflowTemplateStepFormTemplateConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormTemplateConfigRequestDto, WorkflowTemplateStepFormTemplateConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormTemplateConfigPutDto, WorkflowTemplateStepFormTemplateConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepFormTemplateConfigEntity, WorkflowTemplateStepFormTemplateConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤条件基本配置
            CreateMap<WorkflowTemplateStepConditionBaseConfigDto, WorkflowTemplateStepConditionBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionBaseConfigRequestDto, WorkflowTemplateStepConditionBaseConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionBaseConfigRequestDto, WorkflowTemplateStepConditionBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionBaseConfigPutDto, WorkflowTemplateStepConditionBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionBaseConfigEntity, WorkflowTemplateStepConditionBaseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤条件表单配置
            CreateMap<WorkflowTemplateStepConditionConfigDto, WorkflowTemplateStepConditionConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionConfigRequestDto, WorkflowTemplateStepConditionConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionConfigRequestDto, WorkflowTemplateStepConditionConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionConfigPutDto, WorkflowTemplateStepConditionConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionConfigEntity, WorkflowTemplateStepConditionConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepConditionConfigEntity, WorkflowTemplateStepConditionConfigAllDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤会签配置
            CreateMap<WorkflowTemplateStepCountersignConfigDto, WorkflowTemplateStepCountersignConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepCountersignConfigRequestDto, WorkflowTemplateStepCountersignConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepCountersignConfigRequestDto, WorkflowTemplateStepCountersignConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepCountersignConfigPutDto, WorkflowTemplateStepCountersignConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepCountersignConfigEntity, WorkflowTemplateStepCountersignConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤通知配置
            CreateMap<WorkflowTemplateStepNotificationConfigDto, WorkflowTemplateStepNotificationConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepNotificationConfigRequestDto, WorkflowTemplateStepNotificationConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepNotificationConfigRequestDto, WorkflowTemplateStepNotificationConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepNotificationConfigPutDto, WorkflowTemplateStepNotificationConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepNotificationConfigEntity, WorkflowTemplateStepNotificationConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤子流程配置
            CreateMap<WorkflowTemplateStepSubFlowConfigDto, WorkflowTemplateStepSubFlowConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepSubFlowConfigRequestDto, WorkflowTemplateStepSubFlowConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepSubFlowConfigRequestDto, WorkflowTemplateStepSubFlowConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepSubFlowConfigPutDto, WorkflowTemplateStepSubFlowConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepSubFlowConfigEntity, WorkflowTemplateStepSubFlowConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤按钮配置
            CreateMap<WorkflowTemplateStepButtonConfigDto, WorkflowTemplateStepButtonConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepButtonConfigRequestDto, WorkflowTemplateStepButtonConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepButtonConfigRequestDto, WorkflowTemplateStepButtonConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepButtonConfigPutDto, WorkflowTemplateStepButtonConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepButtonConfigEntity, WorkflowTemplateStepButtonConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            //工作流模板步骤结束配置
            CreateMap<WorkflowTemplateStepEndBaseConfigDto, WorkflowTemplateStepEndBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepEndBaseConfigRequestDto, WorkflowTemplateStepEndBaseConfigPutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepEndBaseConfigRequestDto, WorkflowTemplateStepEndBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepEndBaseConfigPutDto, WorkflowTemplateStepEndBaseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorkflowTemplateStepEndBaseConfigEntity, WorkflowTemplateStepEndBaseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            #endregion

        }
    }
}
